package com.newjiabo.ski.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.newjiabo.common.annotation.Excel;
import com.newjiabo.common.core.domain.BaseEntity;

/**
 * 订单详情对象 ski_order_detail
 *
 * @author CaoMengHui
 * @date 2023-09-22
 */
public class SkiOrderDetail extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 订单详情id
     */
    private String id;

    /**
     * 订单id
     */
    @Excel(name = "订单id")
    private String orderId;

    /**
     * 套餐id
     */
    @Excel(name = "套餐id")
    private String setMealId;

    /**
     * 套餐名称
     */
    @Excel(name = "套餐名称")
    private String setMealName;

    /**
     * 套餐描述
     */
    @Excel(name = "套餐描述")
    private String setMealDesc;

    /**
     * 套餐价格
     */
    @Excel(name = "套餐价格")
    private Double setMealPrice;

    /**
     * 雪场id
     */
    @Excel(name = "雪场id")
    private String snowFieldId;

    /**
     * 雪场名称
     */
    @Excel(name = "雪场名称")
    private String snowFieldName;

    /**
     * 下单人id
     */
    @Excel(name = "下单人id")
    private String memberId;

    /**
     * 下单人电话
     */
    @Excel(name = "下单人电话")
    private String memberPhone;

    /**
     * 下单人名称
     */
    @Excel(name = "下单人名称")
    private String memberName;

    /**
     * 删除标志 true/false 删除/未删除
     */
    private Boolean delFlag;

    public SkiOrderDetail(String id, String orderId, String setMealId, String setMealName, String setMealDesc,
                          Double setMealPrice, String snowFieldId, String snowFieldName, String memberId, String memberPhone, String memberName) {
        this.id = id;
        this.orderId = orderId;
        this.setMealId = setMealId;
        this.setMealName = setMealName;
        this.setMealDesc = setMealDesc;
        this.setMealPrice = setMealPrice;
        this.snowFieldId = snowFieldId;
        this.snowFieldName = snowFieldName;
        this.memberId = memberId;
        this.memberPhone = memberPhone;
        this.memberName = memberName;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setSetMealId(String setMealId) {
        this.setMealId = setMealId;
    }

    public String getSetMealId() {
        return setMealId;
    }

    public void setSetMealName(String setMealName) {
        this.setMealName = setMealName;
    }

    public String getSetMealName() {
        return setMealName;
    }

    public void setSetMealDesc(String setMealDesc) {
        this.setMealDesc = setMealDesc;
    }

    public String getSetMealDesc() {
        return setMealDesc;
    }

    public void setSetMealPrice(Double setMealPrice) {
        this.setMealPrice = setMealPrice;
    }

    public Double getSetMealPrice() {
        return setMealPrice;
    }

    public void setSnowFieldId(String snowFieldId) {
        this.snowFieldId = snowFieldId;
    }

    public String getSnowFieldId() {
        return snowFieldId;
    }

    public void setSnowFieldName(String snowFieldName) {
        this.snowFieldName = snowFieldName;
    }

    public String getSnowFieldName() {
        return snowFieldName;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public String getMemberId() {
        return memberId;
    }

    public void setMemberPhone(String memberPhone) {
        this.memberPhone = memberPhone;
    }

    public String getMemberPhone() {
        return memberPhone;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getMemberName() {
        return memberName;
    }


    public void setDelFlag(Boolean delFlag) {
        this.delFlag = delFlag;
    }

    public Boolean getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("orderId", getOrderId())
                .append("setMealId", getSetMealId())
                .append("setMealName", getSetMealName())
                .append("setMealDesc", getSetMealDesc())
                .append("setMealPrice", getSetMealPrice())
                .append("snowFieldId", getSnowFieldId())
                .append("snowFieldName", getSnowFieldName())
                .append("memberId", getMemberId())
                .append("memberPhone", getMemberPhone())
                .append("memberName", getMemberName())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("delFlag", getDelFlag())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
